package Message.Public
{
    import Framework.Serialize.*;

    public class SReward extends Object
    {
        public var type:int;
        public var code:int;
        public var num:int;

        public function SReward()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.type);
            param1.writeInt(this.code);
            param1.writeInt(this.num);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.type = param1.readInt();
            this.code = param1.readInt();
            this.num = param1.readInt();
            
        }

    }
}
